starting command automaticaly [closed]

Posted by aaa on Server Fault See other posts from Server Fault or by aaa
Published on 2012-09-09T05:24:59Z Indexed on 2012/09/09 9:39 UTC
Read the original article Hit count: 111

Filed under:

playing with Debian on raspberry pi.

I have a 3g dongle modem on the system and there is a software called sakis3g to connect to internet. I want system to connect to internet automatically every time it starts. It takes about 30-40 seconds to get connected. copied sakis3g to /sbin folder. This command has to be run as root:

sakis3g connect parameters blah blah blah

I tried to put it in the /etc/rc.local and rebooted system, but no luck.

I tried to put it in the crontab as:

@reboot sakis3g connect parameters blah blah blah

What am I missing here?

© Server Fault or respective owner

Related posts about cron